<?php

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
//验证码
Route::name('.captcha')
    ->prefix('captcha')
    ->group(function () {
        //图片
        Route::any('image', 'CaptchaController@image')
            ->name('.image');
        //邮箱
        Route::post('email', 'CaptchaController@email')
            ->name('.email');
        //手机
        Route::post('mobile', 'CaptchaController@mobile')
            ->name('.mobile');
        //验证
        Route::post('check', 'CaptchaController@check')
            ->name('.check');



    });

